package com.blqy.fr.model.template;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 模板标签实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "TemplateTag")
@TableName("template_tag")
public class TemplateTag extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "模板标签的父级标签")
    @TableField("parent_id")
    private Long parentId;

    @Schema(description = "模板标签名称（如：工作、生活、学习）")
    @TableField("template_tag")
    private String templateTag;

    @Schema(description = "标签类型（如：系统标签、用户自定义）")
    @TableField("tag_type")
    private String tagType;
}